#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <softTone.h>
#include <pcf8591.h>

int main(){
    long int clock1=(clock()/(CLOCKS_PER_SEC/1000));
    while(1){
        if((clock()/(CLOCKS_PER_SEC/1000))-clock1>=1000/30){
            putchar('f');
            // printf("\n%lld\n",((double)(clock()-clock1)/(double)(CLOCKS_PER_SEC)));
            printf("%ld\n",clock()/(CLOCKS_PER_SEC/1000)-clock1);
            clock1=(clock()/(CLOCKS_PER_SEC/1000));
        }
        
        // printf("%d\n",clock()/(CLOCKS_PER_SEC/100));
        printf("%d\n",clock()/CLOCKS_PER_SEC);
    }
    
    return 0;
    
}